package com.traceability.trace.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.traceability.common.annotation.Excel;
import com.traceability.common.core.domain.BaseEntity;

/**
 * 农户对象 farmer_producer
 * 
 * @author xulin
 * @date 2025-01-09
 */
public class FarmerProducer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long producerId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNumber;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identityCardNumber;

    public void setProducerId(Long producerId) 
    {
        this.producerId = producerId;
    }

    public Long getProducerId() 
    {
        return producerId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContactNumber(String contactNumber) 
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() 
    {
        return contactNumber;
    }
    public void setIdentityCardNumber(String identityCardNumber) 
    {
        this.identityCardNumber = identityCardNumber;
    }

    public String getIdentityCardNumber() 
    {
        return identityCardNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("producerId", getProducerId())
            .append("name", getName())
            .append("contactNumber", getContactNumber())
            .append("identityCardNumber", getIdentityCardNumber())
            .toString();
    }
}
